package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 桃花传音-语音表
 *
 * @author YOU
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "sound")
public class Sound implements java.io.Serializable {
    //主键id
    private ObjectId id;
    //用户id
    private Long userId;
    //语音地址
    private String soundUrl;
    //性别
    private String gender;
    //创建时间
    private Long created;

}
